<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>登录页面</title>

      <link href="/static/bootstrap.min.css" rel="stylesheet" type="text/css">
      <link href="/static/signin.css" rel="stylesheet" type="text/css">
      <script type="text/javascript" src="/static/js/jquery-1.11.3.js"></script>
      <script>
      function leadToAuthorize() {
      window.location.href="http://127.0.0.1:8081/oauth/authorize?client_id=barClientIdPassword&response_type=code&redirect_uri=http://127.0.0.1:8084/login/my";
      }
      </script>
  </head>

  <body>
    <div class="container form-margin-top">
        <div class="container form-margin-top">
            <form class="form-signin" action="/login" method="post">
                <h2 class="form-signin-heading" align="center">登录平台</h2>
                <input type="text" name="username" class="form-control form-margin-top" placeholder="账号" required autofocus>
                <input type="password" name="password" class="form-control" placeholder="密码" required>
                <input type="checkbox" name="remember-me">自动登录
                <button class="btn btn-lg btn-primary btn-block" type="submit" >登录</button>

            </form>
             <div class="form-signin">
            <button class="btn btn-lg btn-primary btn-block" onclick="leadToAuthorize()" >QQ登录</button>

             </div>
        </div>
  </body>
</html>
